$(document).ready(function(){
	var validator = $("#contactme").validate({
		errorElement:'div',
		rules: {
			txt_rating:{
				required:true
			},
			send_message:{
				required:true,
				minlength:10,
				maxlength:300
			}		
		},
		messages: {
			txt_rating:{
				required:"Please select your rating"
			},			
			send_message:{
				required:"Please enter your feedback",
				minlength:jQuery.format('Please enter atleast {0} characters'),
				maxlength:jQuery.format('Please enter at most {0} characters')
			}				
		}
	});
});